﻿using Newtonsoft.Json;
using SqlSugar;

namespace AdminBase.Model.Entitys
{
    /// <summary>
    /// 文件表模型类
    /// </summary>
    public class Files : EntityBase
    {
        /// <summary>
        /// 文件全局唯一guid
        /// </summary>
        [SugarColumn(IsNullable = false)]
        [JsonProperty("fileID")]
        public string FileID { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        [SugarColumn(IsNullable = false)]
        [JsonProperty("filePath")]
        public string FilePath { get; set; }

        /// <summary>
        /// 文件名称
        /// </summary>
        [JsonProperty("fileName")]
        public string? FileName { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        [JsonProperty("createUserName")]
        public string? CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [JsonProperty("createDateTime")]
        public DateTime? CreateDateTime { get; set; }
    }
}
